//---------------------------------------------------------------------------

#ifndef StockDlgH
#define StockDlgH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "GlassesBridge.h"
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TfrmStockDlg : public TForm
{
__published:	// IDE-managed Components
        TGroupBox *grpMain;
        TLabel *lblFirms;
        TComboBox *cmbFirms;
        TLabel *lblModels;
        TComboBox *cmbModels;
        TBitBtn *BitBtn1;
        TBitBtn *btnClose;
        void __fastcall btnProduceClick(TObject *Sender);
        void __fastcall FormDestroy(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
        void __fastcall cmbFirmsChange(TObject *Sender);
private:	// User declarations
        TDatabase * dbMain;
        TGlassesBridge * bridge;

        void ShowModels();

public:		// User declarations
        __fastcall TfrmStockDlg(TComponent* Owner, TDatabase * dbMain);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmStockDlg *frmStockDlg;
//---------------------------------------------------------------------------
#endif
